home *** CD-ROM | disk | FTP | other *** search
- ELIM 1.6
-
- A
- Small program to delete files
- not accessible to DOS Del
- - and -
- Avoid DEL's 'Are you sure?' prompt
-
- by
- Bob Eyer
- [73230,2620]
-
- Feb 17, 1991
-
- CAUTION: Please read the WARNING
- below
-
-
- Syntax:
-
- ELIM filename/wildcard
-
- Discussion:
- ----------
- The main purpose of ELIM is to enable the user to delete files
- which normal DOS DEL or ERASE cannot handle. For example, the
- user may run a poorly programmed utility which accidentally
- creates files which have a blank or other illegal character in the
- filename. DOS DEL will not be able to delete such a file. ELIM
- will solve the problem.
-
- ELIM 1.6 always reports on the screen what it did to each file, so
- proper control can be maintained.
-
- Advantages:
- ----------
- ELIM does not prompt the user for confirmation, where a wildcard
- is used. Thus, it is unnecessary to pipe a "y" to DEL in a batch
- file. Just use ELIM.
-
- ELIM supports all DOS wildcard shortcuts. For example, if one
- wishes to delete all the files in the TEST directory, one can do
- that simply by issuing the command
-
- ELIM TEST\.
-
- The following are also legitimate:
-
- ELIM .
- ELIM ..\.
-
- If you've left C: in directory WORK and are now on D:,
-
- ELIM C:.
-
- will delete all read/write files in C:\WORK and ignore all read
- only files in that directory.
-
- If you're in WORK\B and there is an A subdirectory of WORK, you
- can delete all read-write files in the A subdirectory from your
- present B subdirectory by issuing the following command:
-
- ELIM ..\A\.
-
- Warning: don't use DOS wildcard shortcuts unless you're sure you
- know what you're doing. These shortcuts are for experts, not
- beginners.
-
- The Enclosed Demo
- -----------------
- Before you try using ELIM, you should run DEMO in a special
- directory containing all the files in this archive, including
- CREATE.EXE. The sole function of the CREATE program is to enable
- the DEMO.BAT file to create a zero-byte file on your disk which
- cannot be deleted by DOS's DEL command. The DEMO shows how ELIM
- does what DEL cannot.
-
- Errors:
- ------
- Error responses always return a DOS error level of 1.
-
- If the user specifies a filename or wildcard to which no files
- correspond, ELIM will return the message "No such file(s)" and an
- error level of 1. If nothing is mentioned as a parameter on the
- commandline, ELIM will return to the user a small help screen and
- an error level of 1.
-
- All other ELIM terminations return an error level of 0.
-
- ELIM's error level returns make it possible to use ELIM in
- automated batch file programs.
-
- WARNING:
- -------
- Avoid using ELIM in preference to DOS DEL, unless you really know
- what you are doing. The designers of DOS deliberately put in the
- 'Are you sure?' prompt on the DEL command for a reason, and that
- reason is that it's better to be safe than sorry.
-
- ELIM is designed to be used by people who know what they're doing,
- not people for whom the 'Are you sure?' prompt was designed.
-
- DISCLAIMER:
- ==========
- This program is circulated as public domain without any guarantee
- or warranty; and the user, by downloading this program, or any
- variant thereof or by receiving it or any of its versions in any
- other form, agrees to accept full responsibility for its use. It
- is therefore understood that the user accepts this program or any
- previous version as is.
-
- Bob Eyer The author may also be reached at
- Compuserve [73230,2620] ROSE MEDIA 416-733-2285 (Main Conf)
- Toronto or
- Canada CANADA REMOTE 416-629-7044 (IBM Conf)
- -------------------------------------------------------------
- End of documentation.
-
-
- ----------------end-of-author's-documentation---------------
-
- Software Library Information:
-
- This disk copy provided as a service of
-
- Public (software) Library
-
- We are not the authors of this program, nor are we associated
- with the author in any way other than as a distributor of the
- program in accordance with the author's terms of distribution.
-
- Please direct shareware payments and specific questions about
- this program to the author of the program, whose name appears
- elsewhere in this documentation. If you have trouble getting
- in touch with the author, we will do whatever we can to help
- you with your questions. All programs have been tested and do
- run. To report problems, please use the form that is in the
- file PROBLEM.DOC on many of our disks or in other written for-
- mat with screen printouts, if possible. PsL cannot debug pro-
- programs over the telephone, though we can answer questions.
-
- Disks in the PsL are updated monthly, so if you did not get
- this disk directly from the PsL, you should be aware that the
- files in this set may no longer be the current versions. Also,
- if you got this disk from another vendor and are having prob-
- lems, be aware that some files may have become corrupted or
- lost by that vendor. Get a current, working disk from PsL.
-
- For a copy of the latest monthly software library newsletter
- and a list of the 3,000+ disks in the library, call or write
-
- Public (software) Library
- P.O.Box 35705 - F
- Houston, TX 77235-5705
-
- 1-800-2424-PSL
- MC/Visa/AmEx/Discover
-
- Outside of U.S. or in Texas
- or for general information,
- Call 1-713-524-6394
-
- PsL also has an outstanding
- catalog for the Macintosh.
-